<template>
  <div class="homeborder">
    <a-input-number id="inputNumber" v-model:value="value" :min="1" :max="10" />
    当前值：{{ value }}
  </div>
</template>

<script setup>
import { ref } from "vue";
const value = ref(3);

console.log(this.$attrs);
</script>

<style lang="scss" scoped>
.homeborder {
  width: 300px; //大小设置为100%
  height: 50px; //大小设置为100%
  position: fixed;
  background-size: 100% 100%;
  text-align: center;
  line-height: 50px;
  border-radius: 10px;
  box-shadow: 0px 10px 4px 10px #f6f6f6;
}
.homeborder:hover {
  background-color: greenyellow;
}
</style>
